package com.zw.gulimall.ware;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication()
@EnableRabbit
@EnableDiscoveryClient
@MapperScan("com.zw.gulimall.ware.dao")
@EnableFeignClients(basePackages = "com.zw.gulimall.ware.feign")
public class GuliMallWareApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuliMallWareApplication.class, args);
    }

}
